import sys

fileInp= open(sys.argv[1])
fileOut=open(sys.argv[2],'w')
features=int(sys.argv[3])
for line in fileInp.readlines():
	spl=line.strip().split("\t")
	if len(spl)>100: #==features
		fileOut.write(",".join(spl[1:])+ "\n")
fileOut.close()
fileInp.close()
